﻿using BasicInformation.ErrorCode;
using MediatR;
using SqlSugar;

namespace BasicInformation.ApiWrite.Application.Command.Unit
{
    public class UpdateUnitCommand : IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 单位Id（主键唯一标识）
        /// </summary>
        public int UnitId { get; set; }
        /// <summary>
        /// 单位编号(自动生产)
        /// </summary>
        public string UnitCode { get; set; }
        /// <summary>
        /// 单位名称
        /// </summary>
        public string UnitName { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? UnitRemark { get; set; }
    }
}
